package cn.song.freight.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.*;

/**
 * 策略区域定价删除请求DTO
 * V3版本：用于删除定价配置的标准参数
 *
 * @author SongRenShuo
 * @version 3.0.0
 * @since 2025-08-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "策略区域定价删除请求DTO")
public class StrategyAreaPricingDeleteDTO {

    /**
     * 定价配置ID
     */
    @ApiModelProperty(value = "定价配置ID", required = true, example = "1")
    @NotNull(message = "定价配置ID不能为空")
    private Long id;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人", example = "admin")
    @Size(max = 50, message = "操作人长度不能超过50字符")
    private String operator;

    /**
     * 删除原因（可选）
     */
    @ApiModelProperty(value = "删除原因", example = "配置调整")
    @Size(max = 200, message = "删除原因长度不能超过200字符")
    private String reason;
}
